package com.hyh.prize.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.lww.springcloudapi.entity.TabGgcardObtain;
import com.lww.springcloudapi.entity.TabSaleplanGiftcode;
import com.lww.springcloudapi.entity.parent.ParentEntity;
import com.lww.springcloudapi.pojo.TabHallUsermessage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 刮刮卡兑奖日志表
 * </p>
 *
 * @author SHEN
 * @since 2021-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式编程
@ApiModel(value = "TabGgcardEncash对象", description = "刮刮卡兑奖日志表")
public class TabGgcardEncash extends ParentEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户编号")
    @TableField("SUBSCRBID")
    private Integer subscrbid;

    @ApiModelProperty(value = "地区编码")
    @TableField("AREAID")
    private String areaid;

    @ApiModelProperty(value = "业务类型")
    @TableField("SVCID")
    private String svcid;

    @ApiModelProperty(value = "卡序列号")
    @TableField("CARDNO")
    private String cardno;

    @ApiModelProperty(value = "奖品等级（1-6）")
    @TableField("PRIZELEVEL")
    private Integer prizelevel;

    @ApiModelProperty(value = "礼品编码")
    @TableField("GIFTCODE")
    private String giftcode;

    @ApiModelProperty(value = "礼品类型（tab_code表codetype=’GGCardGiftType’）")
    @TableField("GIFTTYPE")
    private String gifttype;

    @ApiModelProperty(value = "兑换状态（00：兑换；10：返销）")
    @TableField("ENCASHSTATE")
    private String encashstate;

    @ApiModelProperty(value = "操作员")
    @TableField("OPTRID")
    private String optrid;

    @ApiModelProperty(value = "受理点")
    @TableField("ACPTSITEID")
    private String acptsiteid;

    @ApiModelProperty(value = "操作时间")
    @TableField("OPTRDATE")
    private Date optrdate;

    @ApiModelProperty(value = "流水号")
    @TableField("TRANSN")
    private String transn;

    @ApiModelProperty(value = "备注")
    @TableField("REMARKS")
    private String remarks;

}
